const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  // 添加 Three.js 示例模块的别名配置
  configureWebpack: {
    resolve: {
      alias: {
        // 别名 "three-examples" 指向 three 的 examples/jsm 目录
        'three-examples': 'three/examples/jsm'
      }
    }
  }
})